package com.example.demo.entity.pojo;



import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 院区表
 * @TableName hospital_area
 */
@Data
@TableName("hospital_area")
public class HospitalArea  {
    /**
     * 院区id
     */

    @TableId(type = IdType.AUTO)
    private Integer areaId;

    /**
     * 院区名称
     */
    private String areaName;

    /**
     * 院区备注
     */
    private String areaRemark;

    /**
     * 院区地址
     */
    private String areaAddress;

    /**
     * 院区电话
     */
    private String areaPhone;

    /**
     * 院区状态  1:正常 0:禁用
     */
    private Integer areaStatus;

    /**
     * 创建的时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date areaStartTime;

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaRemark() {
        return areaRemark;
    }

    public void setAreaRemark(String areaRemark) {
        this.areaRemark = areaRemark;
    }

    public String getAreaAddress() {
        return areaAddress;
    }

    public void setAreaAddress(String areaAddress) {
        this.areaAddress = areaAddress;
    }

    public String getAreaPhone() {
        return areaPhone;
    }

    public void setAreaPhone(String areaPhone) {
        this.areaPhone = areaPhone;
    }

    public Integer getAreaStatus() {
        return areaStatus;
    }

    public void setAreaStatus(Integer areaStatus) {
        this.areaStatus = areaStatus;
    }

    public Date getAreaStartTime() {
        return areaStartTime;
    }

    public void setAreaStartTime(Date areaStartTime) {
        this.areaStartTime = areaStartTime;
    }
}